package mest.service.cxj;

import mest.VO.cxj.PlanOtherIncomeVO;
import mest.entity.PlanOtherIncome;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

public interface PlanOtherIncomeService {

    /**
     * 添加计划收款单
     */
    Integer insertPlanOtherIncome(PlanOtherIncome poi, String theirDb);


    /**
     * 查询全部计划收款单
     *
     * @return
     */
    List<PlanOtherIncomeVO> selectAllPlanOtherIncome(Integer page, Integer limit, Integer status, String content, String theirDb);


    /**
     * 收款单数量
     *
     * @return
     */
    Integer selectCountPlanOtherIncome(Integer status, String content, String theirDb);

    /**
     * 将单据转完成状态
     */
    Integer changeStatus(Integer id, String theirDb);


    /**
     * 修改计划费用单信息
     */
    Integer modifyPlanOtherIncome(PlanOtherIncome poi, String theirDb);

    /**
     * 获取计划费用单信息
     */
    PlanOtherIncome selectPlanOtherIncomeById(Integer id, String theirDb);

    /**
     * 修改计划费用单金额
     */
    Integer updatePlanOtherIncomeByMoney(Integer id, BigDecimal hasBennMoney, String theirDb);


}
